home *** CD-ROM | disk | FTP | other *** search
- #include <stdlib.h>
- #include <time.h>
- #include <sys/timeb.h>
-
- void bzero(char *p, int n)
- {
- memset(p, '\0', n);
- }
-
- void bcopy(char *s, char *d, int n)
- {
- memmove(d, s, n);
- }
-
- int ftime(struct timeb *tp)
- {
- time_t now;
-
- time(&now);
- tp->time = now;
- tp->millitm = 0;
- tp->timezone = 0;
- tp->dstflag = 0;
- }
-